package com.dd.cloud.user.mapper.mechan;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dd.cloud.user.entity.mechan.MechanReviewLog;
import com.dd.cloud.user.res.mechan.MechanRankApplyDetailRes;
import com.dd.cloud.user.res.mechan.MechanReviewLogRes;
import org.apache.ibatis.annotations.Param;

/**
 * @author Lx
 * @version 1.0
 */
public interface MechanReviewLogMapper extends BaseMapper<MechanReviewLog> {
    /**
     * 查询机构申请记录的最后一条审核记录
     *
     * @param applyId
     * @return
     */
    MechanReviewLogRes queryMechanReviewLogLast(@Param("applyId") Integer applyId);

    /**
     * 查询审核详情
     */
    MechanRankApplyDetailRes queryMechanReviewDetail(Integer applyId);
}
